package com.xhwl.centiotdata.service.integrateconfig;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhwl.common.vo.cent.device.DeviceProjSupplierCategoryVO;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * @Author： lianghz
 * @Description：
 * @Date 2021/12/17/ 09:41
 */
public class IntegrationConfigEvent extends ApplicationEvent {

    public IntegrationConfigEvent(Object source) {
        super(source);
    }

    private List<DeviceProjSupplierCategoryVO> deviceProjectSupplierCategories;

    public List<DeviceProjSupplierCategoryVO> getDeviceProjectSupplierCategories() {
        return deviceProjectSupplierCategories;
    }

    public void setDeviceProjectSupplierCategories(Page<DeviceProjSupplierCategoryVO> page) {
        if (page!=null) {
            this.deviceProjectSupplierCategories = page.getRecords();
        }
    }
}
